package mda.type.comp;

import mda.type.IHtmlPage;

public class OverlayButton 
{
	private IHtmlPage page;
	private String buttonImage;
	
	// if not null, these values will override the 'rank' value
	private Integer xcoord;
	private Integer ycoord;
	
	public OverlayButton(IHtmlPage page, String buttonImage) {
		super();
		this.page = page;
		this.buttonImage = buttonImage;
	}

	public OverlayButton(IHtmlPage page, String buttonImage, Integer xcoord,
			Integer ycoord) {
		super();
		this.page = page;
		this.buttonImage = buttonImage;
		this.xcoord = xcoord;
		this.ycoord = ycoord;
	}


	public IHtmlPage getPage() {
		return page;
	}

	public void setPage(IHtmlPage page) {
		this.page = page;
	}

	public String getButtonImage() {
		return buttonImage;
	}

	public void setButtonImage(String buttonImage) {
		this.buttonImage = buttonImage;
	}

	public Integer getXcoord() {
		return xcoord;
	}

	public void setXcoord(Integer xcoord) {
		this.xcoord = xcoord;
	}

	public Integer getYcoord() {
		return ycoord;
	}

	public void setYcoord(Integer ycoord) {
		this.ycoord = ycoord;
	}

	
	
}
